import defaultImage from '../assets/image/profile.jpg'
import loadingImage from '../assets/logo/loading.gif'

/**
 * 是否本地开发环境
 * @type {boolean}
 */
export const isDevelopment = process.env.NODE_ENV === 'development'

/**
 * 配置API根域名
 * @type {string}
 */
export const baseAPIPath = process.env.VUE_APP_API_PATH

/**
 * 配置图片根域名
 * @type {string}
 */
export const basePicPath = process.env.VUE_APP_PIC_PATH

/**
 * 默认图片
 * @type {string}
 */
export const defaultPic = defaultImage

/**
 * 默认加载图片
 * @type {string}
 */
export const loadingImage2 = loadingImage

/**
 * 中断请求提示文案
 * @type {string}
 */
export const cancelAxiosText = '前端处理，请求中断!!!'
